<table class="table table-border table-bordered table-hover table-bg">
	<thead>
		<tr class="text-c">
			<th>编号</th>
			<th>楼层</th>
			<th>房间号</th>
			<th>户型</th>
			<th>出租类型</th>
			<th>月租金</th>
			<th>月物业费</th>
			<th>押金</th>
			<th>状态</th>
			<th>办理时间</th>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
		<?php if($list){ foreach($list as $k=>$ls){ ?>
		<tr class="text-c">
			<td><?php echo ($page-1)*C('PAGE_SIZE')+($k+1); ?></td>
			<td>{$ls['floor']}</td>
			<td>{$ls['room_number']}</td>
			<td>{$ls['root_type']}</td>
			<td>{$ls['rent_type']}</td>
			<td>{$ls['rent']}</td>
			<td>{$ls['property']}</td>
			<td>{$ls['deposit']}</td>
			<td>{$ls['visible'] == 1 ? '可用' : '不可用'}</td>
			<td><?php echo date('Y-m-d H:i', $ls['createtime']); ?></td>
			<td>
				<a title="编辑" href="javascript:;" onclick="admin_role_edit('房间编辑','index.html?room_id={$ls['room_id']}','1','1020', '600')" style="text-decoration:none"><i class="Hui-iconfont">&#xe6df;</i></a> 
				<a title="删除" href="javascript:;" onclick="admin_role_del(this,'{$ls['room_id']}')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont">&#xe6e2;</i></a>
			</td>
		</tr>
		<?php } }else{ ?>
		<tr class="text-c">
			<td colspan="14">暂无数据...</td>
		</tr>
		<?php } ?>
	</tbody>
</table>
<!--page-->
<include file="Common/page" />